package com.lyq.permission.service;

import com.lyq.basic.service.IBaseService;
import com.lyq.permission.domain.Role;
import com.lyq.permission.dto.EmpRoleDTO;
import com.lyq.permission.dto.RolePermissionDTO;

import java.util.List;

/**
 * @Author:liangyunqian
 * @Date: 2022/12/14  12:50
 * @Description:
 */
public interface IRoleService extends IBaseService<Role> {

    void saveRolePermission(RolePermissionDTO dto);

    List<String> getRolePermissionSns(Long roleId);

    void saveEmpRole(EmpRoleDTO dto);

    EmpRoleDTO getEmpRole(Long empId);
}
